let initState = {
  list: {}
};

function reducer(state = initState, actions) {

  switch (actions.type) {
    case "SET_LIST":
      state.list = actions.data;
      break;
    default:

  }
  // 返回state的神拷贝值
  return JSON.parse(JSON.stringify(state));
}
export default reducer;